package org.pms.demo.webservice.bind.annotation;

import org.pms.demo.webservice.content.PmsContent;

import java.lang.annotation.*;

/**
 * Created by laijianpeng on 17/10/20.
 */
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CurrentUser {

    /**
     * 当前用户在request中的名字
     *
     * @return
     */
    String value() default PmsContent.CURRENT_USER;

}
